package com.andrew.entity;

import java.util.List;

public class PageBean {
	
	private List<Book> list;//当前页的书本集合
	private int totilPages;//总页数	
	private int currentPage;//当前页数
	private int pageSize;//每页显示几本	
	private long totalBooks;//总共几本书
	public List<Book> getList() {
		return list;
	}
	public void setList(List<Book> list) {
		this.list = list;
	}
	public int getTotilPages() {
		return totilPages;
	}
	public void setTotilPages(int totilPages) {
		this.totilPages = totilPages;
	}
	public int getCurrentPage() {
		return currentPage;
	}
	public void setCurrentPage(int currentPage) {
		this.currentPage = currentPage;
	}
	public int getPageSize() {
		return pageSize;
	}
	public void setPageSize(int pageSize) {
		this.pageSize = pageSize;
	}
	public long getTotalBooks() {
		return totalBooks;
	}
	public void setTotalBooks(long totalBooks) {
		this.totalBooks = totalBooks;
	}
	public PageBean(List<Book> list, int totilPages, int currentPage, int pageSize, long totalBooks) {
		super();
		this.list = list;
		this.totilPages = totilPages;
		this.currentPage = currentPage;
		this.pageSize = pageSize;
		this.totalBooks = totalBooks;
	}
	public PageBean() {
		super();
		// TODO Auto-generated constructor stub
	}
	
	
	
	
}
